// 包含3个环境  dev本地 test测试 production生产
// const ENV = 'dev'
// const ENV = 'test'
const ENV = 'production'

const config = {
    common: {
        timeout: 100000, // 接口请求最长时间，单位毫秒
    },
    dev: {
        // baseUrl: 'http://13.29.1.199', // 测试环境
        // baseUrl: 'http://13.29.1.203', // 祚涛环境
        baseUrl: 'http://192.168.149.1', // 本机环境
        // imgBaseUrl: 'http://13.29.1.45/wechat-assets/image',
        imgBaseUrl: 'https://cs.ykf123.com/wechat-assets/image',
        h5Url: 'http://localhost/wechat-assets/',
        vedioH5Url: 'http://localhost/wechat-assets/vedio.html',
        // vedioH5Url: 'https://cs.ykf123.com/wechat-assets/vedio.html',
        wechatAssets: 'http://localhost/wechat-assets/',
        css: '8080',
        user: '8020',
        qcs: '',
        wos: '',
        lms: '8050',
        ams: '',
        dms: '',
        dss: ''
    },
    test: {
        // baseUrl: 'https://test.ent.ykf123.com:8888',
        baseUrl: 'http://58.248.81.44',
        lms: '8890',
        user: '8889',
        // imgBaseUrl: 'http://119.23.140.247/wechat-assets/image',
        vedioH5Url: 'http://localhost/wechat-assets/vedio.html',
        h5Url: 'http://119.23.140.247/wechat-assets/',
        wechatAssets: 'http://119.23.140.247/wechat-assets/',
        // baseUrl: 'https://cs.ykf123.com',
        imgBaseUrl: 'https://cs.ykf123.com/wechat-assets/image',
        // vedioH5Url: 'http://localhost/wechat-assets/vedio.html'
    },
    production: {
        baseUrl: 'http://112.74.62.214:8080',
        imgBaseUrl: 'https://cs.ykf123.com/wechat-assets/image',
        h5Url: 'https://cs.ykf123.com/wechat-assets/',
        vedioH5Url: 'https://cs.ykf123.com/wechat-assets/vedio.html',
        wechatAssets: 'https://cs.ykf123.com/wechat-assets/',
    }
}

export default {
    ...config.common,
    ...config[ENV],
    ENV
}